package com.atgm.mall.gmmallauth.controller;

import com.atgm.common.utils.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sms")
public class SmsSendController {

    @GetMapping
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code) {
        System.out.println("\"Sent successfully\" = " + "Sent successfully");
        return R.ok();
    }

}
